package com.zsc.newbuds.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import java.net.URL;
import java.util.Date;

/**
 * <p>
 * 图片导出类
 * </p>
 *
 * @author D
 * @version 1.0
 * @date 2020/6/6 16:39
 */
@ContentRowHeight(100)
@ColumnWidth(100 / 8)
public class ImageData {

    @ExcelProperty("捐赠记录ID")
    private Integer recordId;

    @ExcelProperty("回收记录ID")
    private Integer recycleId;

    @ExcelProperty("捐赠人")
    private String donor;

    @ColumnWidth(30)
    @ExcelProperty("捐赠人地址")
    private String address;

    @ExcelProperty("捐赠物类型")
    private String donationName;

    @ColumnWidth(30)
    @ExcelProperty("捐赠时间")
    private Date time;

    @ColumnWidth(23)
    @ExcelProperty("跟踪二维码")
    private URL url;

    public Integer getRecordId() {
        return recordId;
    }

    public void setRecordId(Integer recordId) {
        this.recordId = recordId;
    }

    public String getDonor() {
        return donor;
    }

    public void setDonor(String donor) {
        this.donor = donor;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getDonationName() {
        return donationName;
    }

    public void setDonationName(String donationName) {
        this.donationName = donationName;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public URL getUrl() {
        return url;
    }

    public void setUrl(URL url) {
        this.url = url;
    }

    public Integer getRecycleId() {
        return recycleId;
    }

    public void setRecycleId(Integer recycleId) {
        this.recycleId = recycleId;
    }
}
